package com.ma.implatform.config.props;

import jakarta.validation.Valid;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class JwtProperties {

    @Value("${jwt.accessToken.expireIn}")
    private Integer accessTokenExpireIn;
    @Value("${jwt.accessToken.secret}")
    private String accessTokenSecret;
    @Value("${jwt.refreshToken.expireIn}")
    private Integer refresTokenExpireIn;
    @Value("${jwt.refreshToken.secret}")
    private String refreshTokenSecret;
}
